/**
 * 
 */
package cs342.project1.mathNotebook.expressions;

import cs342.project1.mathNotebook.expressions.exceptions.UncapturedVariableException;

/**
 * @author butzem57
 * 
 */
public class VarExpr extends Expr {

    public String name;

    /**
	 * 
	 */
    public VarExpr(String name) {
	this.name = name;
    }

    @Override
    public Object accept(Visitor v) throws UncapturedVariableException {
	return v.visit(this);
    }

}
